package com.kevin.enterprise.service.impl;

import com.kevin.enterprise.dao.LoginServletDao;
import com.kevin.enterprise.service.LoginService;

public class LoginServiceImpl implements LoginService {

    private LoginServletDao loginServletDao =new LoginServletDao();

    @Override
    public boolean  loginCheck(String userName, String password) {
        return loginServletDao.selectByID(userName,password);
    }
}
